package com.industrial.premu.domain.sqsj;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 亩产导入数据-加减分项对象 pre_mu_import_substract
 *
 * @author ruoyi
 * @date 2024-01-26
 */
public class PreMuImportSubstract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String uscc;

    /** 企业全称 */
    @Excel(name = "企业全称")
    private String companyName;

    /** 企业全称 */
    @Excel(name = "企业全称")
    private String county;

    /** 加减分项类型 */
    @Excel(name = "加减分项类型")
    private Long itemType;

    /** 加减分项id */
    @Excel(name = "加减分项id")
    private String itemId;

    /** 分值 */
    @Excel(name = "分值")
    private BigDecimal itemScore;

    /** 加减分项名字层级 大类-指标项-分段 */
    @Excel(name = "加减分项名字层级 大类-指标项-分段")
    private String itemNames;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 删除标记 */
    private String delFlag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String companyType;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setYear(String year)
    {
        this.year = year;
    }

    public String getYear()
    {
        return year;
    }
    public void setUscc(String uscc)
    {
        this.uscc = uscc;
    }

    public String getUscc()
    {
        return uscc;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setCounty(String county)
    {
        this.county = county;
    }

    public String getCounty()
    {
        return county;
    }
    public void setItemType(Long itemType)
    {
        this.itemType = itemType;
    }

    public Long getItemType()
    {
        return itemType;
    }
    public void setItemId(String itemId)
    {
        this.itemId = itemId;
    }

    public String getItemId()
    {
        return itemId;
    }
    public void setItemScore(BigDecimal itemScore)
    {
        this.itemScore = itemScore;
    }

    public BigDecimal getItemScore()
    {
        return itemScore;
    }
    public void setItemNames(String itemNames)
    {
        this.itemNames = itemNames;
    }

    public String getItemNames()
    {
        return itemNames;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate)
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate()
    {
        return updateDate;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCompanyType(String companyType)
    {
        this.companyType = companyType;
    }

    public String getCompanyType()
    {
        return companyType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("year", getYear())
                .append("uscc", getUscc())
                .append("companyName", getCompanyName())
                .append("county", getCounty())
                .append("itemType", getItemType())
                .append("itemId", getItemId())
                .append("itemScore", getItemScore())
                .append("itemNames", getItemNames())
                .append("createBy", getCreateBy())
                .append("createDate", getCreateDate())
                .append("updateBy", getUpdateBy())
                .append("updateDate", getUpdateDate())
                .append("remarks", getRemarks())
                .append("delFlag", getDelFlag())
                .append("companyType", getCompanyType())
                .toString();
    }
}